import time

tstr = "2023-09-14T16:00:00.000Z"
t = time.strptime(tstr,"%Y-%m-%dT%H:%M:%S.%fZ")
ts =  int(time.mktime(t))
print(ts)